package com.coderush.admin.core.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ClassName: ConvertStatusToStr
 * Package: com.javasetest.annotation
 * Description:
 *          自定义注解，
 * @Author wxz
 * @Create 2024/4/12 13:42
 * @Version 1.0
 */

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ConvertEnumField {

    /** 枚举类.class */
    Class<?> enumClass();

    /** 实体类的字段名 */
    String sourceFieldName() default "";

}
